package com.heima.model.behavior.dtos;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 用户行为 - 点赞
 * @author chenshan
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class LikesBehaviorDto implements Serializable {
    /**
     * 文章id
     */
    private Long articleId;
    /**
     * 0 点赞 1取消点赞
     */
    private Integer operation;
    /**
     * 0 文章 1 动态 2 评论
     */
    private Integer type;
}
